package com.tianma315.admin.qa.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;


/**
 * 
 * <pre>
 * 品控巡查
 * </pre>
 * <small> 2019-07-10 09:48:55 | wen</small>
 */
 @TableName("qa_patrol")
public class QaPatrolDO implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    
    /**  */
    @TableId
    private Integer qaPatrolId;
    /** 巡查时间 */
    @JsonFormat( locale = "zh", timezone = "GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date patrolDate;
    /** 巡查产线 */
    private String patrolProductLines;
    /** 0玻璃瓶线 1塑料瓶线 */
    private Integer abnormalSituation;

    /** 产品规格 */
    private String productSpecification;
    /** 其他异常情况 */
    private String otherAbnormalSituation;

    /** 检查人 默认登陆用户 */
    private Long checkBy;
    /**  */
    private Long createBy;
    /**  */
    private Date createDate;
    /**  */
    private Integer state;

    private String batch;

    private Long productId;

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    /**
     * 设置：
     */
    public void setQaPatrolId(Integer qaPatrolId) {
        this.qaPatrolId = qaPatrolId;
    }
    /**
     * 获取：
     */
    public Integer getQaPatrolId() {
        return qaPatrolId;
    }
    /**
     * 设置：巡查时间
     */
    public void setPatrolDate(Date patrolDate) {
        this.patrolDate = patrolDate;
    }
    /**
     * 获取：巡查时间
     */
    public Date getPatrolDate() {
        return patrolDate;
    }
    /**
     * 设置：巡查产线
     */
    public void setPatrolProductLines(String patrolProductLines) {
        this.patrolProductLines = patrolProductLines;
    }
    /**
     * 获取：巡查产线
     */
    public String getPatrolProductLines() {
        return patrolProductLines;
    }
    /**
     * 设置：0玻璃瓶线 1塑料瓶线
     */
    public void setAbnormalSituation(Integer abnormalSituation) {
        this.abnormalSituation = abnormalSituation;
    }
    /**
     * 获取：0玻璃瓶线 1塑料瓶线
     */
    public Integer getAbnormalSituation() {
        return abnormalSituation;
    }
    /**
     * 设置：检查人 默认登陆用户
     */
    public void setCheckBy(Long checkBy) {
        this.checkBy = checkBy;
    }
    /**
     * 获取：检查人 默认登陆用户
     */
    public Long getCheckBy() {
        return checkBy;
    }
    /**
     * 设置：
     */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }
    /**
     * 获取：
     */
    public Long getCreateBy() {
        return createBy;
    }
    /**
     * 设置：
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    /**
     * 获取：
     */
    public Date getCreateDate() {
        return createDate;
    }
    /**
     * 设置：
     */
    public void setState(Integer state) {
        this.state = state;
    }
    /**
     * 获取：
     */
    public Integer getState() {
        return state;
    }

    public String getProductSpecification() {
        return productSpecification;
    }

    public void setProductSpecification(String productSpecification) {
        this.productSpecification = productSpecification;
    }

    public String getOtherAbnormalSituation() {
        return otherAbnormalSituation;
    }

    public void setOtherAbnormalSituation(String otherAbnormalSituation) {
        this.otherAbnormalSituation = otherAbnormalSituation;
    }
}
